package com.springcloud.stock.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/stock")
public class StockController {

    @RequestMapping("/reduce/{count}")
    public String reduce(@PathVariable("count") int count) {
        return "success";
    }

}
